package cn.iocoder.yudao.module.promotion.discount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 限时折扣活动创建 Request VO")
@Data
public class DiscountActivityCreateReqVO extends DiscountActivityBaseVO {

    /**
     * 产品列表
     */
    @NotEmpty(message = "产品列表不能为空")
    @Valid
    private List<Product> products;

}
